package top.boycharse.blog.bean.Response;

public class ResponseCode {

    public static final int CODE_SUCCESS = 0;

    public static final int CODE_FAIL = -1;

    /**
     * 没有登录
     */
    public static final int CODE_NOT_LOGIN = 1;

    /**
     * 用户名错误或者密码错误
     */
    public static final int CODE_NOT_USER = 2;

    /**
     * 没有权限
     */
    public static final int CODE_NOT_PERMISSION = 3;

    /**
     * 参数异常
     */
    public static final int CODE_PARAM_EXCEPTION = 4;

    private ResponseCode(){}
}
